package com.rybbaby.tss.front.tssPayment.service;


import com.rybbaby.tss.core.web.service.IBaseService;
import com.rybbaby.tss.front.tssPayment.entity.TssPayment;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @description 缴费表数据库操作服务接口
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-10 上午12:22:55
 */
public interface ITssPaymentService extends IBaseService<TssPayment> {
    List<TssPayment> findDepositById(String id)throws Exception;

    int updateDepositIds(String[] strs,String memberPackageId,String contractNumber);

    List<TssPayment> findApplyStatus(String memberId)throws Exception;

    /**
     *查询今日收付收入
     * @return
     */
    Map<String,Object> findTodayPayment(String adminUserIds);
    /**
     *查询本月收付收入
     * @return
     */
    Map<String,Object> findMonthPayment(String adminUserIds);

    Serializable saveEntity(TssPayment entity);

    /**
     * 查询合同编号是否存在
     * @param contractNumber
     * @return
     */
    Map<String,Object> findContractNumber(String contractNumber);
}
